home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / packet / p_tapr / tnchst / mthost.doc < prev    next >
Text File  |  1992-03-16  |  3KB  |  77 lines

  1. Superfast notes on MTHOST
  2.  
  3. 1.  MTHOST unfortunately choses the com port and its baud rate at COMPILE TIME!
  4. The default I've set up is COM1 (where COM1-4 exist), 9600 baud.  If
  5. you wish to change these parms you'll need to patch MTDRIVER.ASM for
  6. COMPORT and patch MTHOST.C for COMPORT.
  7.  
  8. 1.5 (c) stuff
  9.  
  10. MTHDRIVER is based on AA4RE's COMBIOS.ASM drivers, as modified by
  11. WA7MXZ, WA7MBL, W0RLI, and N2WX.   (c) the respective authors.
  12.  
  13. The remaining software is (c) N2WX.  Permission to copy and 
  14. use the software in non-commercial Amateur Radio applications 
  15. is hereby granted.
  16.  
  17. The specifications for QAFT, DLC, and BLP specifications are 
  18. hereby released into the public domain.  
  19.  
  20. 2. If MTHOST comes up and says "detected TNC not ready" it means the
  21. driver doesn't see a valid hardware flow control signal from the TNC.
  22. A full rs-232 cable (at least enuf to support flow control) is required.
  23. Note that what you'll probably need to do is build an rs232 loopback that
  24. ties pins 2&3 together and one that pulls the RTS input to the computer
  25. line TRUE (unless you have a tnc or other device capable of echoing back
  26. all 8 bits)
  27.  
  28. 3. commands:
  29. once MTHOST is up, you may use
  30.   F1: set mydlc address (addressing allows rs232 multiplexing;deflt=off=0)
  31.       set outgoing dlc address (defaults to 1)
  32.   F2: establishes a BLP link
  33.   F3: transmit data.  the stupid scanf() function in here will only transmit
  34.       ONE WORD of data, but it can be a very long word.  PLEASE NOTE
  35.       THERE ARE TWO PARAMETERS REQUIRED - THE channel# [SPACE] word
  36.  
  37.       CHANNEL# SHOULD BE THE SAME CHANNEL # THAT MTHOST SIGNALLED
  38.       IT CONNECTED ON
  39.  
  40.   F4: disconnect the BLP link
  41.  
  42.   F5: send a test UI packet from MYCALL "A" to MYCALL "B"
  43.  
  44.   F6: send a CSTREQ packet
  45.  
  46.  (pressing any other function key brings up the help menu)
  47.  
  48. 4.  >>Getting on the command channel
  49.  
  50. To issue commands to the tnc (ex: change TXDELAY), using MTHOST
  51. issue an F2 call to callsign "TNCCMD".  TNCCMD causes MTHOST
  52. to force a call on the tnc command channel 0x70.  Thereafter use
  53. F3 on channel 112 to issue commands.
  54.  
  55.  
  56. 5. All the garbage displayed
  57.  
  58. MTHOST was a terminal program.  For my debug purposes I've 
  59. allowed the raw QAFT data to be printed on the screen and also provided
  60. a somewhat functional decoding of each QAFT packet.  Is doesn't look
  61. good now, but the idea is to get some good programmers to replace MTHOST
  62. with something useful...
  63. (Note: turn off AFTFRAMETRACE in AFT.INC to get rid of frame traces...
  64. but note no way to shut off rcvd aft frames when using MTHCODE as the main 
  65. driver)
  66.  
  67. 6. Don't forgot to set AWLEN 8!
  68.  
  69. 7. Rolling your own host program?  
  70.  
  71. Please remember that you must implement QAFT level 1, at least on the 
  72. receive side.  In this release, the TNC will always send a DLE and 
  73. offset the DC1/DC3 flow control characters.  If you are using 
  74. transparent mode in the default configuration i.e., without software 
  75. flow control, note the TNC can always receive at level 0 and you will
  76. not need to escape the host's DC1 and DC3 characters.
  77.